.mpd-scroll-container.invisible .mpd-scroll-bar-thumb {
  opacity: 0;
  transition: opacity 800ms linear;
}
.mpd-scroll-container.visible .mpd-scroll-bar-thumb {
  opacity: 1;
  transition: opacity 200ms linear;
}
.mpd-scroll-container {
  position: relative;
  --mpd-scroll-bar-width: 6px;

  .mpd-scroll-body {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;

    .mpd-scroll-view {
      position: absolute;
      min-width: 100%;
      min-height: 100%;
    }
  }

  .mpd-scroll-bar {
    position: absolute;
    .mpd-scroll-bar-thumb {
      background-color: var(--mpd-scroll-bar-thumb-bg-color, rgba(121, 121, 121, 0.4));
      width: 100%;
      height: 100%;
      border-radius: var(--mpd-scroll-bar-width);
    }
    .mpd-scroll-bar-thumb:hover {
      background-color: var(--mpd-scroll-bar-thumb-hover-bg-color, rgba(100, 100, 100, 0.7));
    }
  }

  // 横向滚动条
  .horizontal {
    width: 100%;
    height: var(--mpd-scroll-bar-width);
  }

  // 纵向滚动条
  .vertical {
    height: 100%;
    width: var(--mpd-scroll-bar-width);
  }

  // 隐藏原生滚动条
  .mpd-scroll-body::-webkit-scrollbar {
    /*滚动条整体样式*/
    width: 0;
    /*高宽分别对应横竖滚动条的尺寸*/
    height: 0;
  }
}
